import { Component, Vue } from 'vue-property-decorator'
import { FormOptions, FormItem, FormType } from '@/models/form'

export default class BaseCurd extends Vue {
  public dialogVisible = false
  public dialogPending = false
  public onlyViewMode = false

  public id?: number

  view(id: number) {
    console.log('view', id)
    this.id = id
    this.dialogVisible = true
    this.dialogPending = true
  }

  create() {}

  update() {}
}
